package com.scnb.abstractFactory;

import com.scnb.factorymethod.Moveable;
import com.scnb.factorymethod.SimpleVehicelFactory;

public class Main {
    public static void main(String[] args) {
        //一个人开着车，拿着ak47突突突，吃着面包
        AbstractFactory factory = new ModernFactory();
        Vehicel c = factory.createVehicel();
        Weapon w = factory.createWeapon();
        Food f = factory.createFood();

    }
}
